package com.java.project.dao;

import com.java.project.dto.UserDto;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserDao {
    public UserDto getUserByUsername(String username);

    List<String> findPrivilegesByUserId(Long id);
}
